import request from '@/plugins/request';
export default {
    /*.then(res => {
        // 返回数据
    })
        .catch(err => {
            // 异常情况
        })*/

///reimbursement/findByPage
// 按条件查询

    findByPage(data) {
        return request({
            url: '/api/reimbursement/findByPage',
            method: 'post',
            data
        });
    },
    //reimbursement/insertReimbursement
    // 费用申请新增
    // 费用申请新增
    insertReimbursement(data) {
        return request({
            url: '/api/reimbursement/insertReimbursement',
            method: 'post',
            data
        })
    },

    //reimbursement/updateReimbursement
    // 用户申请修改

    updateReimbursement(data) {
        return request({
            url: '/api/reimbursement/updateReimbursement',
            method: 'post',
            data
        })
    },
    //reimbursement/deleteById
    // 删除

    deleteById(data) {
        return request({
            url: '/api/reimbursement/deleteById',
            method: 'post',
            data
        })
    },
    //reimbursement/getInfoById
    // id获取详情
    getInfoById(data) {
        return request({
            url: '/api/reimbursement/getInfoById',
            method: 'post',
            data
        })
    },

    //reimbursementAudit/insertAuditInfo
    // 费用审核
    insertAuditInfo(data) {
        return request({
            url: '/api/reimbursementAudit/insertAuditInfo',
            method: 'post',
            data
        })
    },
}
